import request from '@/utils/request'

// 语言包列表
export function apiLanguagePagLists(params: any) {
    return request.get({ url: '/setting.language_pag/lists', params })
}

// 添加语言包
export function apiLanguagePagAdd(params: any) {
    return request.post({ url: '/setting.language_pag/add', params })
}

// 编辑语言包
export function apiLanguagePagEdit(params: any) {
    return request.post({ url: '/setting.language_pag/edit', params })
}

// 删除语言包
export function apiLanguagePagDelete(params: any) {
    return request.post({ url: '/setting.language_pag/delete', params })
}

// 语言包详情
export function apiLanguagePagDetail(params: any) {
    return request.get({ url: '/setting.language_pag/detail', params })
}

// 同步语言包
export function apiLanguagePagSync(params: any) {
    return request.post({ url: '/setting.language_pag/sync', params })
}

// 翻译语言包
export function apiLanguagePagTrans(params: any) {
    return request.post({ url: '/setting.language_pag/trans', params })
}